package oxi.bigu.business;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import oxi.bigu.persistence.LocationDao;

@Component
public class LocationController {
	
	@Autowired
	private LocationDao locationDao;

	@Transactional
	public void createLocation(Location location) {
		locationDao.insertLocation(location);
	}

}
